package com.yz.yzl00.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.yz.yzl00.enums.SexEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yz
 * @create 2025-09-26 下午1:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(fill = FieldFill.INSERT)
    private String name;
    private Integer age;
    private String email;
    @TableLogic
    private Integer status;

    private SexEnum sex;
}
